﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace AuctionHouseDataLibrary
{
    [Serializable]
    [DataContract]
    public class AuctionCurrentPrice
    {
        [DataMember]
        [ForeignKey("Auction")]
        public int AuctionId { get; set; }

        [DataMember]
        [ForeignKey("ScanEvent")]
        public int ScanEventId { get; set; }

        [DataMember]
        public Auction Auction { get; set; }

        [DataMember]
        public ScanEvent ScanEvent { get; set; }

        [DataMember]
        public long Price { get; set; }
    }
}